import request from '@/utils/request'

// 查询部署与架构列表
export function listSolutionframework(query) {
  return request({
    url: '/tianqi/solutionframework/list',
    method: 'get',
    params: query
  })
}

// 查询部署与架构详细
export function getSolutionframework(id) {
  return request({
    url: '/tianqi/solutionframework/' + id,
    method: 'get'
  })
}

// 新增部署与架构
export function addSolutionframework(data) {
  return request({
    url: '/tianqi/solutionframework',
    method: 'post',
    data: data
  })
}

// 修改部署与架构
export function updateSolutionframework(data) {
  return request({
    url: '/tianqi/solutionframework',
    method: 'put',
    data: data
  })
}

// 删除部署与架构
export function delSolutionframework(id) {
  return request({
    url: '/tianqi/solutionframework/' + id,
    method: 'delete'
  })
}
